const install=(Vue,vm)=>{
	const homeApi=(data={})=>vm.$u.post("/app/index/index",data)
	const loginApi=(data={})=>vm.$u.post("/app/user/login",data)
	const getVcodeApi=(data={})=>vm.$u.post("/app/sms/send",data)
	const registerApi=(data={})=>vm.$u.post("/app/user/register",data)
	const resetPasswordApi=(data={})=>vm.$u.post("/app/user/forgetpwd",data)
	const getKDataApi=(data={})=>vm.$u.post("/app/forward/getkdata",data)
	const switchMockApi=(data={})=>vm.$u.post("/app/user/loginqie",data)
	const personInfoApi=(data={})=>vm.$u.post("/app/user/get_user",data)
	const recognizeInfoApi=(data={})=>vm.$u.post("/app/user/getreal",data)
	const recognizeSubmitApi=(data={})=>vm.$u.post("/app/user/savereal",data)
	const getOnWorryInfoApi=(data={})=>vm.$u.post("/app/safeinvest/index",data)
	const depositInfoApi=(data={})=>vm.$u.post("/app/index/config",data)
	const transferOutApi=(data={})=>vm.$u.post("/app/safeinvest/zhuanchu",data)
	const transferInApi=(data={})=>vm.$u.post("/app/safeinvest/zhuanru",data)
	const moneyRecordApi=(data={})=>vm.$u.post("/app/safeinvest/log",data)
	const withdrawInfoApi=(data={})=>vm.$u.post("/app/recharge/w_bankcards",data)
	const withdrawApi=(data={})=>vm.$u.post("/app/recharge/doWithdraw",data)
	const shareJoinApi=(data={})=>vm.$u.post("/app/profit/wpmytj",data)
	const qianbaoLingquApi=(data={})=>vm.$u.post("/app/profit/lingqu",data)
	const bindBankCardApi=(data={})=>vm.$u.post("/app/user/saveBankCardsData",data)
	const bankCardInfoApi=(data={})=>vm.$u.post("/app/user/bankcards",data)
	const alipayH5Api=(data={})=>vm.$u.post("/app/recharge/alipayh5",data)
	const penddingOrderApi=(data={})=>vm.$u.post("/app/order/addorderentrust",data)
	const addOrderApi=(data={})=>vm.$u.post("/app/order/addorder",data)
	const holdModifyApi=(data={})=>vm.$u.post("/app/order/upys",data)
	const peddingModifyApi=(data={})=>vm.$u.post("/app/order/upyswei",data)
	const cancelOrderApi=(data={})=>vm.$u.post("/app/order/cheorder",data)
	const getBankInfoApi=(data={})=>vm.$u.post("/app/recharge/getRechargeBank",data)
	const bankTransferApi=(data={})=>vm.$u.post("/app/recharge/transfer",data)
	const sellApi=(data={})=>vm.$u.post("/app/order/sell",data)
	const alipayTransferInfoApi=(data={})=>vm.$u.post("/app/recharge/getRechargeAlipay",data)
	const alipayTransferApi=(data={})=>vm.$u.post("/app/recharge/transferali",data)
	const modifyPasswordApi=(data={})=>vm.$u.post("/app/user/changepwd",data)
	const historyRecordApi=(data={})=>vm.$u.post("/app/user/ordercheng_list",data)
	const modifyNickNameApi=(data={})=>vm.$u.post("/app/user/savegeren",data)
	const serviceMsgApi=(data={})=>vm.$u.post("/app/user/send_inner_mail",data)
	const imformationApi=(data={})=>vm.$u.post("/app/index/getkuaixun",data)
	const newsListApi=(data={})=>vm.$u.post("/app/index/getxinwen",data)
	const getMoneyDetailApi=(data={})=>vm.$u.post("/app/finance/financelog",data)
	Vue.prototype.$u.api={
		homeApi,
		loginApi,
		getVcodeApi,
		registerApi,
		resetPasswordApi,
		getKDataApi,
		switchMockApi,
		personInfoApi,
		recognizeInfoApi,
		recognizeSubmitApi,
		getOnWorryInfoApi,
		depositInfoApi,
		transferOutApi,
		transferInApi,
		moneyRecordApi,
		withdrawInfoApi,
		withdrawApi,
		shareJoinApi,
		qianbaoLingquApi,
		bindBankCardApi,
		bankCardInfoApi,
		alipayH5Api,
		penddingOrderApi,
		addOrderApi,
		holdModifyApi,
		peddingModifyApi,
		cancelOrderApi,
		getBankInfoApi,
		bankTransferApi,
		sellApi,
		alipayTransferInfoApi,
		alipayTransferApi,
		modifyPasswordApi,
		historyRecordApi,
		modifyNickNameApi,
		serviceMsgApi,
		imformationApi,
		newsListApi,
		getMoneyDetailApi
	}
}

export default {
	install
}